<?php
require_once ("dao/PhongThuyDAO.php");
?>
<!-- menu trong cap thu muc -->
<div class="nav2">
    <ul>
        <li class="first"><a href="admin.php?c=phong-thuy" class="phong-thuys">Thông tin tham khảo</a></li>
        <li><a href="admin.php?c=phong-thuy&amp;p=add-phong-thuy" class="add-phong-thuy">Thêm </a></li>
    </ul>
    <br class="clear">
</div>
<!-- end menu trong cap thu muc -->
<div class="clear"></div>
<!-- start noi dung can quan ly -->
<div class="content-manager">
    <?php
	$urlContentP = "";
	$content = "";
	if(isset($_GET['p'])) {
		$content = $_GET['p'];
		if($content == 'add-phong-thuy') {
			$urlContentP = 'phong_thuy/phongthuy_add.php';
		} else if ($content == 'edit-phong-thuy') {
			$urlContentP = 'phong_thuy/phongthuy_edit.php';
		} else {
			$urlContentP = 'phong_thuy/tlct_list.php';
		}
	
	} else {
		$urlContentP = 'phong_thuy/phongthuy_list.php';
		?>
		<script>
            $('.services').css({'color': "#df4b49"});
        </script>
        <?php
	}
	if($urlContentP != "") {
		include_once($urlContentP);	
	}
	?>
	<script>
        $('.<?php if($content != "") {echo($content); } else {echo('phong-thuys');}?>').css({'color': "#df4b49"});
    </script>
</div>
<!-- end noi dung can quan ly -->